package com.open.capacity.recuritment.Dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:招聘信息实体类
 * @date:2021/5/25 下午6:06
 * @author:jxy
 */
@Data
public class RecruitmentDto extends Model<RecruitmentDto> implements Serializable {
    //    @TableId(value = "id", type = IdType.ASSIGN_ID)  //雪花算法  id生成策略
    private Long id;
    @TableField(value = "company_id")
    private Long companyId;
    private String skills;
    @TableField(value = "company_id")
    private Long employeeCount;
    private Long exprience;
    private String tasks;
    @TableField(value = "start_time")
    private Date startTime;
    @TableField(value = "end_time")
    private Date endTime;
    private Long enabled;
    @TableField(value = "cost_id")
    private Long costId;
    private int page;
    private int limit;

    //连接外表字段
    @TableField(value = "position_cost")
    private String companyname;
    private Long positionCost;
    private String remark;

}
